package com.bysun.moduals.finance.service;


import com.bysun.moduals.finance.pojo.entity.TbBill;
import com.bysun.moduals.finance.pojo.vo.FinBillsVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FinBillService {

    List<FinBillsVo> getBillsByUserIdAndYear(String userId, String year);

    PageInfo getRunningAccountByUserIdAndYearAndMonth(String userId, String year, String month, Integer pageNo, Integer pageSize);

    TbBill getAccountById(String id);

    void delAccountById(String id);

    void addAccount(TbBill bill);

    void updateAccount(TbBill bill);
}
